Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / ListBase<T> Class / ListBase<T> Constructor / ListBase<T> Constructor(IEnumerable<T>)
The collection whose elements are copied to the new list.


In This Topic
    ListBase<T> Constructor(IEnumerable<T>)
    In This Topic
    Initializes a new instance of the ListBase<T> class that contains elements copied from the specified collection and has sufficient capacity to accommodate the number of elements copied.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal collection As IEnumerable(Of T) _
    )
    'Usage
     
    
    Dim collection As IEnumerable(Of T)
     
    Dim instance As New ListBase(Of T)(collection)
    public ListBase<T>( 
       IEnumerable<T> collection
    )

    Parameters

    collection
    The collection whose elements are copied to the new list.
    See Also